package com.acegear.horizon.domain.events;

/**
 * Created by guoweike on 17/3/9.
 */
public class DeleteQAEvent extends BaseEvent {

  private Long eventQAId;

  private Long eventId;

  private QAType type;

  public DeleteQAEvent() {
  }

  public DeleteQAEvent(Long eventQAId, Long eventId, QAType type) {
    this.eventQAId = eventQAId;
    this.eventId = eventId;
    this.type = type;
    genEventId();
  }

  public Long getEventQAId() {
    return eventQAId;
  }

  public void setEventQAId(Long eventQAId) {
    this.eventQAId = eventQAId;
  }

  @Override
  public Long getEventId() {
    return eventId;
  }

  @Override
  public void setEventId(Long eventId) {
    this.eventId = eventId;
  }

  public QAType getType() {
    return type;
  }

  public void setType(QAType type) {
    this.type = type;
  }

  @Override
  public String routingKey() {
    return "horizon.domain.activity.qa.delete";
  }
}
